﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Vibz.Terminal
{
    public partial class FormConnect : Form
    {
        public string ServerLocation { get; set; }
        public FormConnect()
        {
            InitializeComponent();
        }

        private void btnConnect_Click(object sender, EventArgs e)
        {
            if (!string.IsNullOrEmpty(txtLocation.Text.Trim()))
            {
                this.DialogResult = DialogResult.OK;
                ServerLocation = txtLocation.Text.Trim();
                this.Close();
            }
        }
    }
}
